package com.bamanker.cloudconsumer.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author bamanker
 */
@Component
@FeignClient(value = "nacos-sys",contextId = "BizClient",fallback = OrderFeignClientFallback.class)
public interface BizClient {

    @GetMapping("/info")
    Object getInfo(@RequestParam(value = "key") String key);
}
